<html>
<head>
    
</head>
<body>
<div>会员中心</div>
<?php if($login):?>
<div><?php echo $userinfo['username'];?>您好，欢迎来到会员中心。<a href="?action=logout">退出</a></div>
<?php else:?>
<div >您还未登入，请先<a href="login.php">登入</a>或<a href="register.html">注册新用户</a>。</div>
<?php endIf;?>
</body>
</html>